package net.qiqb.core.domain.annotation;

/**
 * 单聚合根业务处理完之后
 *
 * @param <AR>
 */
public interface AttachedAggregatePersistence<AR, D> {

    void persistAggregate(AttachedAggregatePersistentObj<AR, D> newObj, AttachedAggregatePersistentObj<AR, D> oldObj);
}
